package com.sunyur.tailor.channel.common.inner.constants;

/**
 *
 * @Author 99288
 * @Description 内部审批常量
 * @Date 17:52 2021/9/15
 * @Param
 * @return
**/
public interface InnerWorkflowConstant {
    /**
     * 审批业务类型
     * 申请单:applyOrder,收获单:receiveOrder, 策略单:strategyOrder,供应商:supplier,询价单:inquireOrder,招标单:tenderOrder,发票单：invoiceOrder, 订单：order,供应商事务单据:txOrder,  对账单:settleOrder，协议：protocolApproval, recipientsOrder :领用单,recycleOrder:利旧单
     */
    String[] BUSINESS_CODE = {"applyOrder","order"};
    /**
     * 审批提交动作
     * 提交：commit,定标：fixed, 提交财务审核：commitFinanc,信息变更: infoChange, 确认: confirm
     */
    String[] ACTION = {"commit"};
    /**
     * 审批处理状态
     * 1:通过，2:驳回 3:撤回 4 异常"
     */
    Integer[] PROCESS_STATUS = {4};
    /**
     * 审批状态
     * "0 进行中 1 已结束",
     */
    Integer[] INSTANCE_STATUS = {1};
    /**
     * 系统默认审批人工号
     */
    String APPROVER_CODE = "0000";
    /**
     * 系统默认审批人姓名
     */
    String APPROVER_NAME = "系统自动";

}
